-
Notifications
You must be signed in to change notification settings - Fork 245
Configuring Access Level of Downstream Endpoints on Zuul Proxy #122
base: main
Are you sure you want to change the base?
Conversation
To increase performance, you can choose to implement a configuration security mechanism for making less network hops, a mechanism implemented on Zuul where you can configure which route needs private, public or partial authentication. + Every route in Zuul to a downstream service will have security configured based on how secure the endpoints has to be.
Can you explain how this relates to the existing Also, please don't use lombok for new code (we are trying to get rid of it in Spring Cloud projects). |
Alright i’ll remove lombok out of the picture, I got some recommendations regarding this feature so I am going to refactor this PR.
The customers route should be private so that whenever there is a request without an authorization header, this request will not be forwarded. |
I'm not really comfortable with this yet. Isn't it duplicating features in Spring Security? |
Are you referring to the filters from Spring Security? EDIT: Another option is to create an implementation of a |
It is an enhancement for the proxy configuration so there is a standard for securing your downstream services in Zuul. There is no such configuration in Spring Security that I have found. |
It looks a lot like |
|
I think you misunderstood my comment. I'm not saying the feature is uninteresting, just that the implementation is not ideal - for security we would prefer to use Spring Security, that's all. |
Ok, thank you for your time and response :) |
@KevinVHoutte Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@KevinVHoutte Thank you for signing the Contributor License Agreement! |
To increase performance, you can choose to implement a configuration security mechanism for making less network hops,
a mechanism implemented on Zuul, where you can configure which route needs private, public or partial authentication.
Every route in Zuul to a downstream service will have security configured based on how secure the endpoints has to be.